import 'package:flutter_ncsjqz_getx/generated/json/base/json_field.dart';
import 'package:flutter_ncsjqz_getx/generated/json/shop_home_category_entity.g.dart';


@JsonSerializable()
class ShopHomeCategoryEntity {

	ShopHomeCategoryEntity();

	factory ShopHomeCategoryEntity.fromJson(Map<String, dynamic> json) => $ShopHomeCategoryEntityFromJson(json);

	Map<String, dynamic> toJson() => $ShopHomeCategoryEntityToJson(this);

	String? msg;
	int? code;
	List<ShopHomeCategoryData>? data;
}

@JsonSerializable()
class ShopHomeCategoryData {

	ShopHomeCategoryData();

	factory ShopHomeCategoryData.fromJson(Map<String, dynamic> json) => $ShopHomeCategoryDataFromJson(json);

	Map<String, dynamic> toJson() => $ShopHomeCategoryDataToJson(this);

	String? categoryName;
	int? parentCategoryId;
	int? categoryId;
	String? pic;
	List<ShopHomeCategoryDataCommodityList>? commodityList;
}

@JsonSerializable()
class ShopHomeCategoryDataCommodityList {

	ShopHomeCategoryDataCommodityList();

	factory ShopHomeCategoryDataCommodityList.fromJson(Map<String, dynamic> json) => $ShopHomeCategoryDataCommodityListFromJson(json);

	Map<String, dynamic> toJson() => $ShopHomeCategoryDataCommodityListToJson(this);

	String? categoryName;
	int? parentCategoryId;
	int? categoryId;
	String? pic;
	dynamic? commodityList;
}
